<?php
namespace App\System\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 支付记录Dto （导入导出）
 */
#[ExcelData]
class SystemPayLogDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "订单号", index: 1)]
    public string $order_no;

    #[ExcelProperty(value: "订单类型", index: 2)]
    public string $order_type;

    #[ExcelProperty(value: "第三方支付单号,余额积分支付取订单号", index: 3)]
    public string $pay_no;

    #[ExcelProperty(value: "支付方式", index: 4)]
    public string $pay_type;

    #[ExcelProperty(value: "支付通道，0为直连商户", index: 5)]
    public string $channel_id;

    #[ExcelProperty(value: "订单金额", index: 6)]
    public string $amount;

    #[ExcelProperty(value: "退款金额", index: 7)]
    public string $refund_amount;

    #[ExcelProperty(value: "状态", index: 8)]
    public string $status;

    #[ExcelProperty(value: "退款时间", index: 9)]
    public string $refund_at;

    #[ExcelProperty(value: "支付时间", index: 10)]
    public string $paid_at;

    #[ExcelProperty(value: "创建时间", index: 11)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 12)]
    public string $updated_at;

    #[ExcelProperty(value: "关闭时间", index: 13)]
    public string $expired_at;

    #[ExcelProperty(value: "接口返回信息摘要", index: 14)]
    public string $message;


}